package com.itheima.service;

import com.itheima.common.CommonResult;
import com.itheima.pojo.LikeAdd;
import com.itheima.vo.LikeVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author wangjiexin
 */
@Transactional(rollbackFor = RuntimeException.class)
public interface UserLikeService {

    Boolean add(LikeAdd dto);

    boolean del(String followId);

    CommonResult list(String name, Integer type, Integer page, Integer pageSize);
}
